<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <beetl>include("/inc/head.html"){}</beetl>
    <title>大数据接口调用说明</title>
</head>
<body>
<div class="container">
    <h1>接口前缀api/hbase/</h1>

    <div class="jumbotron">
        <h4>接口参数</h4>

        <ul>
            <li>reversed：true/false (是否倒序)</li>
            <li>did：设备编号</li>
            <li>pageSize：每页查询多少条</li>
            <li>startRowName：一般用于第1+N页查询，必须提供此字段(此字段是上一页结果集的最后一条记录rowKey)</li>
            <li>startTime：开始时间(yyyyMMddHHmmss)</li>
            <li>startTime：结束时间(yyyyMMddHHmmss)</li>
        </ul>
    </div>

    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">按设备查询CAN数据</h3>
        </div>
        <div class="panel-body">
            <a href="api/hbase/findCan/false/did_00000000023/5" target="_blank">findCan/{reversed}/{did}/{pageSize}</a>
        </div>
    </div>

    <div class="panel panel-info">
        <div class="panel-heading">
            <h3 class="panel-title">1+N页查询CAN数据</h3>
        </div>
        <div class="panel-body">
            <a href="api/hbase/findCan/false/did_00000000023/5/did_00000000023_20060316202801" target="_blank">findCan/{reversed}/{did}/{pageSize}/{startRowName}</a>
        </div>
    </div>

    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">按时间段查询CAN数据</h3>
        </div>
        <div class="panel-body">
            <a href="api/hbase/findCan/false/did_00000000023/5/20120101000000/20130101000000" target="_blank">findCan/{reversed}/{did}/{pageSize}/{startTime}/{endTime}</a>
        </div>
    </div>

    <div class="panel panel-info">
        <div class="panel-heading">
            <h3 class="panel-title">1+N页，并且按时间段查询CAN数据</h3>
        </div>
        <div class="panel-body">
            <a href="api/hbase/findCan/false/did_00000000023/5/did_00000000023_20060316202806/20120101000000/20130101000000" target="_blank">findCan/{reversed}/{did}/{pageSize}/{startRowName}/{startTime}/{endTime}</a>
        </div>
    </div>

    <div class="panel panel-danger">
        <div class="panel-heading">
            <h3 class="panel-title">按设备统计CAN数据</h3>
        </div>
        <div class="panel-body">
            <a href="api/hbase/countCan/did_00000000019" target="_blank">countCan/{did}</a>
        </div>
    </div>

    <div class="panel panel-danger">
        <div class="panel-heading">
            <h3 class="panel-title">按设备与时间段统计CAN数据</h3>
        </div>
        <div class="panel-body">
            <a href="api/hbase/countCan/did_00000000023/20120501000000/20120601000000" target="_blank">countCan/{did}/{startTime}/{endTime}</a>
        </div>
    </div>

</div>
</body>
</html>